package com.citms.exception;

import com.citms.common.CodeMsg;

/*
 *
  * 业务异常类
  * 
  * @author denghq
  * @date 2018/10/29
 */
public class BussinessException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private CodeMsg codeMsg;

    public BussinessException() {

    }
    public BussinessException(CodeMsg codeMsg) {
        super(codeMsg.toString());
        this.codeMsg = codeMsg;
    }

    public CodeMsg getCodeMsg() {
        return codeMsg;
    }


}
